<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="animate.css">
    <style>
        .all{
            display: flex;
            justify-content: center;
            align-items: center;
        }
        #d1,#d2,#d3,#d4,#d5{
            width: 100px;
            height: 40px;
            border: solid 1px black;
            text-align: center;
            line-height: 40px;
            transition: all 0.5s linear;
        }
        #d1:hover{
            animation-name: wobble ;
            width: 150px;
            height: 150px;
            line-height: 150px;
            background-color: #d3a0a0;
        }
        #d2:hover{
            animation-name: jello ;
        }
        #d3:hover{
            animation-name: swing ;
        }
        #d4:hover{
            animation-name: rubberBand ;
        }
        #d5:hover{
            animation-name: shake ;
        }
        @keyframes move{
            0%{
                top:0;
                left: 0;
            }
            20%{
                left: 50px;
                top: 50px;
            }
            40%{
                left: 100px;
                top: 100px;
            }
            60%{
                left: 150px;
                top: 150px;
            }
            80%{
                left: 200px;
                top: 200px;
            }
            100%{
                left: 250px;
                top: 250px;
            }
        }
    </style>
</head>
<body>
    <div class="all">
        <div id="d1" class="animated">你好吗</div>
        <div id="d2" class="animated">阿尼呀塞呦</div>
        <div id="d3" class="animated">高端颗粒</div>
        <div id="d4" class="animated">创新科技</div>
        <div id="d5" class="animated">我要发财</div>
    </div>
</body>
</html>